![]() |
PBSetVInfoSync |
||||
Header: | Files.h | Carbon status: | Supported | |
Changes information about a volume.
OSErr PBSetVInfoSync ( HParmBlkPtr paramBlock );
A pointer to a basic HFS parameter block.
A result code.
The relevant fields of the parameter block are:
On input, a pointer to a completion function.
On output, the result code of the function.
On input, a pointer to the volume’s name. You can specify a pointer to a new name for the volume here.
On input, a volume specification.
On input, the date and time of initialization.
On input, the date and time of last modification.
On input, the volume attributes. Only bit 15 of ioVAtrb can be changed; setting it locks the volume.
On input, the date and time of the last backup.
Used internally.
Information used by the Finder
You cannot specify the volume by name; you must use either the volume reference number, the drive number, or a working directory reference number.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)